package org.adream.account.entity;

import java.io.Serializable;

/**
 * 用户收货地址
 * 
 * @author sl
 *
 */
public class UserShippingAddressEntity extends PubClass implements Serializable {

	private static final long serialVersionUID = 6264438391905033038L;

	private String uid;
	
	private UserEntity user;

	private String sort;		//收货地址排序

	private String receiver;	//收货人

	private String phone;		//收货人手机号码

	private Integer province;	//所在省份/直辖市

	private Integer city;		//所在城市/区

	private Integer area;		//所在地区

	private String address;		//详细地址

	private Integer isDefaultAddress;	//是否为默认收货地址
	

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public UserEntity getUser() {
		return user;
	}

	public void setUser(UserEntity user) {
		this.user = user;
	}
	
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getIsDefaultAddress() {
		return isDefaultAddress;
	}

	public void setIsDefaultAddress(Integer isDefaultAddress) {
		this.isDefaultAddress = isDefaultAddress;
	}
	
	@Override
	public String getTable() {
		return "acc_user_shipping_address";
	}
}